package com.wf.controller;

import com.wf.web.base.BaseController;
import com.wf.web.domain.Result;
import org.checkerframework.checker.tainting.qual.PolyTainted;
import org.springframework.web.bind.annotation.*;

/**
 * 还款计划和回款计划模块
 * @author mpk
 * @since 2024/10/11 11:02:50
 */
@RestController
@RequestMapping("/plans")
public class PlansController extends BaseController {

    /**
     * 还款计划
     * @return
     */

    @PostMapping("/repayment")
    public Result repayment() {
        return success();
    }
    /**
     * 回款计划表
     * @return
     */

    @PostMapping("/payment")
    public Result payment() {
        return success();
    }

    @GetMapping("/repayment/{userId}")
    public Result getRepayment(@PathVariable String userId) {
        return success();
    }

    @GetMapping("/payment/{userId}")
    public Result getPayment(@PathVariable String userId) {
        return success();
    }

}
